﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {

        static void Main(string[] args)
        {
            Class2 class2 = new Class2();
            class2.Print();
            class2.jineng();
            Console.WriteLine();
            Class3 class3 = new Class3();
            class3.Print();
            class3.jineng();
            Console.WriteLine();
            Class4 class4 = new Class4();
            class4.Print();
            class4.jineng();
            Console.WriteLine();
            Class5 class5 = new Class5();
            class5.Print();
            class5.jineng();
            Console.WriteLine();
            Student student = new Student("小明");
            Console.WriteLine();
            Teacher teacher = new Teacher("小红");
            
            







        }

    }
}
